package foodmaterial.utils;

public class PageUtil {
    private Object result ;
    private int total ;

    public PageUtil() {
    }

    public PageUtil(Object result, int total) {
        this.result = result;
        this.total = total;
    }

    public <T> T getResult() {
        return (T)result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
